package com.xuetang9.t9.xinhuaxia.beans;

import javax.persistence.*;
import java.io.Serializable;

@Table(name = "order_status")
public class OrderStatus implements Serializable {
    /**
     * 订单状态id
     */
    @Id
    @Column(name = "os_id")
    private Long osId;

    /**
     * 状态
     */
    @Column(name = "os_value")
    private String osValue;

    /**
     * 获取订单状态id
     *
     * @return os_id - 订单状态id
     */
    public Long getOsId() {
        return osId;
    }

    /**
     * 设置订单状态id
     *
     * @param osId 订单状态id
     */
    public void setOsId(Long osId) {
        this.osId = osId;
    }

    /**
     * 获取状态
     *
     * @return os_value - 状态
     */
    public String getOsValue() {
        return osValue;
    }

    /**
     * 设置状态
     *
     * @param osValue 状态
     */
    public void setOsValue(String osValue) {
        this.osValue = osValue;
    }

    @Override
    public String toString() {
        return "OrderStatus{" +
                "osId=" + osId +
                ", osValue='" + osValue + '\'' +
                '}';
    }
}